package com.ruoyi.wxlogin.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.wxlogin.pojo.WxUser;
import org.apache.ibatis.annotations.Select;


public interface WxUserMapper extends BaseMapper<WxUser> {
    @Select("select * from wxuser where open_id = #{openId}")
    WxUser byOpenId(String openId);

    @Select("select * from wxuser where id = #{wxId}")
    WxUser getByWxId(Integer wxId);
}
